#pragma once

#include <QSystemTrayIcon>
#include "qsystemtrayicon.h"

class SysTrayIcon : public QSystemTrayIcon
{
	Q_OBJECT

public:
	SysTrayIcon(QWidget *parent);
	~SysTrayIcon();

	void init();

	void popupMenu();

private:
	QWidget* m_parent;

private slots:
	void onIconActivate(QSystemTrayIcon::ActivationReason reason);
};
